<!DOCTYPE stack PUBLIC "-//Apple, Inc.//DTD stack V 2.0//EN" "" >
<stack>
<name>in</name>
<id>-1</id>
<cardCount>1</cardCount>
<cardID>3011</cardID>
<listID>3816</listID>
<cantModify><false /></cantModify>
<cantDelete><false /></cantDelete>
<cantAbort><false /></cantAbort>
<cardSize>
<width>512</width>
<height>342</height>
</cardSize>
<script>===============================The script of SimpleWrite IICreated by ヒ1996 Akio Tsunekawa===============================-- Stack Scripts --on openStackglobal SWIIstartup,QuitCheck,FRM-- テ頴テ [テ姥テ嘉。テ嘉ャテ⑥テ嘉 テ嘉テ嘉、テテε荏テ宇テ叡テ丑テï」ソテァsテツ「テ②テ嘉 テ泳テ嘉姪 [テï」ソテァテ湘ェツィテ竏妥テset cursor to watchcheckErrorscheckMemorycheckVersionscreateMenuif "2.3" > the version then set enabled of menuItem "テャツォテ窶コティ窶榲竏..." of menu "竏ォナ凪\コニ抵ャ" to falseput empty into QuitCheckput empty into FRMif SWIIstartup is empty then answer " □ SimpleWrite II < The text editor stack >" & return & return & ツャ" Created by ヒ1996 AkioTsunekawa" & return & " All rights reserved worldwide." & return & return & ツャ" This stack is freeware."put "notEmpty!!!" into SWIIstartupif the rect of fld "Text" is "22,14,512,342"then set checkMark of menuItem "テ嘉」テ [テ嘉「テ [テ⑥テァsテョ窶佚ァテ愿テεッ¥テゥツカ" of menu "竏ォナ凪\コニ抵ャ" to trueset cursor to watchend openStackon closeStack-- テ厩テ運テ叡テ丑テï」ソテッツャテ竏づテ暗竏テツエテテεィテテョトアテ⑥テッKテウvテツサテテテ厩テ運テ叡テ丑テェテテウテケテ竏妥テglobal EditSaveFilename,QuitChecklock screendeleteRMif QuitCheck is not true thenresetMenusif fld "Text" is not empty thenbeepanswer "テ・ツェテァ窶コテテεッ竏づィテォテï」ソテ テ催ゥテサテッ竄ャテォ竏づツオテニ津ツョテツエテ窶ケテ竏妥ツゥ?" with "テッ竄ャテォ竏づツオテツサテツ「","テッ竄ャテォ竏"if it is not "テッ竄ャテォ竏" then put empty into fld "Text"if it is not "テッ竄ャテォ竏" then put empty into EditSaveFilenameend ifset cursor to watchcompactingStackif the enabled of menuItem "Close Stack" of menu "File" is true thenset name of this stack to "SimpleWrite"lock messagesdoMenu "Close Stack"unlock messagesexit closeStackend if-- テ厩テ運テ叡テ丑テアツコテï」ソテッナ禿ァXテ竏妥テ暗竏テ厩テ運テ叡テ丑テテε 竅テャテテ邃「テゥ~テ窶ケテツ。テニ津ツオテ窶ケテツァテホゥテïャづ②-- テァsテツエテェテ甘テε厩テ運テ叡テ丑テアツコテï」ソテッ窶佚竏妥、テキテェテョテ udestinationテ vテï」ソテゥgテツ。テニ津 竅テャテテツオテツサテツョテ竏setname the destinationend ifend closeStackon resumeStack-- テ嘉 テ泳テ嘉姪 [テ瓜テ叡テ影テ隠テ嘉ャテ碓set enabled of menu "竏ォナ凪\コニ抵ャ" to trueset cmdChar of menuItem "テ テ崚ァツク..." of menu "竏ォナ凪\コニ抵ャ" to "P"set cmdChar of menuItem "テャツォテ窶コティ窶榲竏..." of menu "竏ォナ凪\コニ抵ャ" to "E"set cmdChar of menuItem "Scroll" of menu "Go" to emptyset cmdChar of menuItem "Print Card" of menu "File" to emptyset cmdChar of menuItem "Find..." of menu "Go" to emptyset cmdChar of menuItem "Recent" of menu "Go" to emptyset cmdChar of menuItem "Open Stack..." of menu "File" to emptyset cmdChar of menuItem "テ・テシテァトア..." of menu "竏ォナ凪\コニ抵ャ" to "F"set cmdChar of menuItem "テュuテツエテ、竏妥ツカ..." of menu "竏ォナ凪\コニ抵ャ" to "R"set cmdChar of menuItem "テッ竄ャテォ竏..." of menu "竏ォナ凪\コニ抵ャ" to "S"set cmdChar of menuItem "テ、Jテ竕 ..." of menu "竏ォナ凪\コニ抵ャ" to "O"end resumeStackon suspendStack-- テ嘉 テ泳テ嘉姪 [テテε嘉、テ瓜テ叡テ曳テ⑴テッsテゥgテウpテ「ツェset enabled of menu "竏ォナ凪\コニ抵ャ" to falseset cmdChar of menuItem "Recent" of menu "Go" to "R"set cmdChar of menuItem "Scroll" of menu "Go" to "E"set cmdChar of menuItem "Find..." of menu "Go" to "F"set cmdChar of menuItem "Open Stack..." of menu "File" to "O"set cmdChar of menuItem "Print Card" of menu "File" to "P"end suspendStackon openCardif fld "Text" is empty then set name of this card to empty-- テ液テ隠テ [テ嘉」テ栄テ邃「テ」テ崚テヲテツ。テホゥテテテ雨テ [テ栄テアツコテ⑿テ・窶榲テε運テ韻テ曳テ嘉」テ頴テ [テテεアツコテォOテ⒀テï」ソテ」テ崚窶ヲテ竏妥テif the number of chars of the short name of this card > 15 then-- テ窶。テツオテ雨テ [テ栄テアツコテテεッ竏づゥテカテェテョテ邃「15テ ツサティ窶榲ツサテテテ⑿テ厩テ運テ叡テ丑テテεアツコテォOテテεュ竏妥竕・テ窶ヲテェテ淌・ツソテ邃「テ窶 テテ暗ホゥテïャづ⒀テュZテ竕 テ竏妥テput char 1 to 13 of the short name of this card & "..." into xxxxxelseput empty into xxxxxend ifif char 1 to 4 of the short name of this card is "card" then-- テ雨テ [テ栄テアツコテ邃「テ」テ崚テヲテツ。テホゥテテテ運テ韻テ曳テ嘉」テ頴テ [テ⑿テ厩テ運テ叡テ丑テ⒀テテεアツコテォOテï」ソテ uテアツコティテεアツ「テェ窶コテュテ凝 vテ窶ヲテ竏妥テset name of this stack to " テアツコティテεアツ「テェ窶コテュテ "else-- SimpleWriteテテε液テ羽テ嘉」テ雲テ窶ヲテ窶 テテ暗液テ院テ韻テ嘉」テï」ソテ、Jテ竕 テ竏テツエテ②テャテ佚竏づアツコテォOテ窶ヲテツオテテ甘ツァテ竏テ竏妥テ暗竏テ烏テ嘉「テ [テ窶ヲテツサテテ暗テε竕暗②-- テァ竕暗ィテ「テ竏テァ竕暗・窶榲窶ヲテョツコテ、pテ厩テ謁テ [テ厩テï」ソテャツクテテ催テif xxxxx is empty thenset name of this stack to empty && (the short name of this card) && emptyelse-- テ液テ院テ韻テ嘉」テアツコテ邃「テュZテ竕 テ竕・テテ催ニ津ツ「テホゥテテテ②テッナ禿ェテョテ uxxxxxテ vテï」ソテ厩テ運テ叡テ丑テアツコテ窶ヲテ竏妥テset name of this stack to empty && xxxxx && emptyend ifend ifselect char (the number of chars of fld "Text" + 1) of fld "Text"send mouseWithIn to fld "Text"select char (the number of chars of fld "Text" + 1) of fld "Text"-- テッ竏づゥテカテェテョ+テ㈲テッ竏づゥテカテア竅テï」ソテォIテォï」ソテ竏妥テ暗竏テ②テ液テ隠テ [テ嘉」テ栄テテεァ竕暗・窶榲窶ヲテ鵜テ嘉嘉嘉・テ叡テ曳テ邃「テ 竅テテend openCard-- Menu Scripts --on resetMenus-- テ嘉 テ泳テ嘉姪 [テアツコテ竏テ鰻テ嘉。テ [テ曳テ雨テ叡テ曳テ鵜テ [テï」ソティテ「テ、ヒ凖ィテ崚ォ窶佚窶ヲテ窶。テツォテ竏-- テ ureset menuBarテ vテ竕暗テ陛ゥテサテ、窶佚邃「テツゥテツゥテテ凝竏妥ツィテテ暗ホゥテïャづ②テゥテ凝ャテテ竕暗ァsテツァdelete menu "竏ォナ凪\コニ抵ャ"set cmdChar of menuItem "Recent" of menu "Go" to "R"set cmdChar of menuItem "Scroll" of menu "Go" to "E"set cmdChar of menuItem "Find..." of menu "Go" to "F"set cmdChar of menuItem "Open Stack..." of menu "File" to "O"set cmdChar of menuItem "Print Card" of menu "File" to "P"end resetMenuson createMenu-- テツアテツアテ竕暗テ陛②テ嘉 テ泳テ嘉姪 [テテεァテ湘ェツィテ⑥テ鰻テ嘉。テ [テ曳テ雨テ叡テ曳テ鵜テ [テ、テ妥テ凝ャテアテニ津ャテエテï」ソテァsテツァcreate menu "竏ォナ凪\コニ抵ャ"put "テ・テシテァトア...,テュuテツエテ、竏妥ツカ...,-,テッ竄ャテォ竏...,テ、Jテ竕 ...,テ テ崚ァツク...,PICTテ液テ院テ韻テ嘉」テï」ソテ、Jテ竕 ...,-,テャヒ凖ッtテï」ソテャツクテウテ,テゥテサテァティテï」ソテャツクテウテ,テャツォテ窶コティ窶榲竏...,-,テ「ツクテァsテッ竏づゥテカテテεッ¥テゥツカ,テ嘉」テ [テ嘉「テ [テ⑥テァsテョ窶佚ァテ愿テεッ¥テゥツカ" into menu "竏ォナ凪\コニ抵ャ" ツャwith menuMsg "FI,PRE,,SF,OF,Printing,openPICT,,TD,TT,Speaking,,showRM,showRulerLines"set cmdChar of menuItem "テ テ崚ァツク..." of menu "竏ォナ凪\コニ抵ャ" to "P"set cmdChar of menuItem "テャツォテ窶コティ窶榲竏..." of menu "竏ォナ凪\コニ抵ャ" to "E"set cmdChar of menuItem "Scroll" of menu "Go" to emptyset cmdChar of menuItem "Print Card" of menu "File" to emptyset cmdChar of menuItem "Find..." of menu "Go" to emptyset cmdChar of menuItem "Recent" of menu "Go" to emptyset cmdChar of menuItem "Open Stack..." of menu "File" to emptyset cmdChar of menuItem "テ・テシテァトア..." of menu "竏ォナ凪\コニ抵ャ" to "F"set cmdChar of menuItem "テュuテツエテ、竏妥ツカ..." of menu "竏ォナ凪\コニ抵ャ" to "R"set cmdChar of menuItem "テッ竄ャテォ竏..." of menu "竏ォナ凪\コニ抵ャ" to "S"set cmdChar of menuItem "テ、Jテ竕 ..." of menu "竏ォナ凪\コニ抵ャ" to "O"end createMenuon showRM-- テ「ツクテァsテッ竏づゥテカテï」ソテッ¥テゥツカテツオテホゥテテ凝ィツ。テツオテホゥテテ凝竏妥テ暗穎テ嘉ャテ栄テ嘉「global FRMset cursor to watchlock screenset checkMark of menuItem "テ「ツクテァsテッ竏づゥテカテテεッ¥テゥツカ" of menu "竏ォナ凪\コニ抵ャ" to not the checkMark of menuItem "テ「ツクテァsテッ竏づゥテカテテεッ¥テゥツカ" of menu "竏ォナ凪\コニ抵ャ"if the checkMark of menuItem "テ「ツクテァsテッ竏づゥテカテテεッ¥テゥツカ" of menu "竏ォナ凪\コニ抵ャ" is true thenaddRMput true into FRMelsedeleteRMput empty into FRMend ifunlock screenend showRMon addRM-- テ「ツクテァsテッ竏づゥテカテテεッ¥テゥツカテ⑿テュツォテ「ツ。テ⒀テï」ソテゥツソテゥ{テ竏妥テrepeat with f = 1 to the number of lines of fld "Text"put "テ ヒ" after line f of fld "Text"end repeatif last char of fld "Text" is "テ ヒ" then delete last char of fld "Text"end addRMon deleteRM-- テ「ツクテァsテッ竏づゥテカテテεョテ津ッ¥テゥツカテ⑿テァテ古ィテコテ⒀テï」ソテゥツソテゥ{テ竏妥テrepeat with l = 1 to the number of lines of fld "Text"if last char of line l of fld "Text" is "テ ヒ" then delete last char of line l of fld "Text"end repeatend deleteRMon showRulerLinesset checkMark of menuItem "テ嘉」テ [テ嘉「テ [テ⑥テァsテョ窶佚ァテ愿テεッ¥テゥツカ" of menu "竏ォナ凪\コニ抵ャ" to not the checkMark of menuItem "テ嘉」テ [テ嘉「テ [テ⑥テァsテョ窶佚ァテ愿テεッ¥テゥツカ" of menu "竏ォナ凪\コニ抵ャ"if the checkMark of menuItem "テ嘉」テ [テ嘉「テ [テ⑥テァsテョ窶佚ァテ愿テεッ¥テゥツカ" of menu "竏ォナ凪\コニ抵ャ" is true thenset rect of fld "Text" to "22,14,512,342"elseset rect of fld "Text" to "0,0,512,342"end ifend showRulerLineson PRE-- テ影テ鵜テ厩テ曳テï」ソテュuテツエテ、竏妥ツカテテ暗穎テ嘉ャテ栄テ嘉「global FindText,Replacementif the selectedText is not empty then get the selectedText else get FindTextask "テ・テシテァトアテ竏妥テ暗ッ竏づゥテカテウテ津⑦" with itif it is empty then exit to HyperCard else put it into FindTextif offset(FindText,fld "Text") is 0 thenbeepanswer "テ⑽" & FindText & "テ⑾テテ陛ッ竏づィテォテ窶ヲテ、窶ケテ窶ケテテ催ニ津ツ「テ窶ケテマ\テテ津③"exit to HyperCardend ifask "テュuテツエテ、竏妥ツカテテ暗ッ竏づゥテカテウテ津⑦" with Replacementif it is empty then exit to HyperCard else put it into Replacementanswer "テ・テシテァトアテッ竏づゥテカテ⑦" & FindText & return & "テュuテツエテ、竏妥ツカテッ竏づゥテカテ⑦" ツャ& Replacement & return & return & "テツアテテεッ竏づゥテカテウテ津ï」ソテ竏妥笳甘ニ津ュuテツエテ、竏妥ツカテ窶ケテ竏妥ツゥテ⑨" with "テ鵜テ嘉嘉嘉ャテ瓜テ嘉」","OK"if it is not "OK" then exit to HyperCard else setCursorToBusy-- テォツィテャxテï」ソテ・ツクティ窶榲竏妥テ暗ホゥテïャづ②テ「テ甘アツ テァXテェVテï」ソテ テ催ゥテサテャIテ窶ヲテュ窶堙ゥツャlock screenput (the number of chars of FindText - 1) into theEndrepeatif offset(FindText,fld "Text") is 0 or the mouseClick then exit repeatsetCursorToBusyput offset(FindText,fld "Text") into theStartput Replacement into char theStart to (theStart + theEnd) of fld "Text"end repeatend PREon TT-- テャツクテウテ陛榎テ韻テ嘉ャテ曳テ邃「テ液テ隠テ [テ嘉」テ栄テャ窶。テ窶ヲテ窶 テテ催ナ津②テゥテサテ、窶佚ï」ソテャツクテウテ陛竏妥テif the selectedChunk is not empty then type the long time else beepend TTon TD-- テャツクテウテ陛榎テ韻テ嘉ャテ曳テ邃「テ液テ隠テ [テ嘉」テ栄テャ窶。テ窶ヲテ窶 テテ催ナ津②テャヒ凖ッtテï」ソテャツクテウテ陛竏妥テif the selectedChunk is not empty then type the long date else beepend TDon OF-- テ影テ鵜テ厩テ曳テ⑴テ嘉、テ [テ栄テ迂テ嘉ャテ嘉、テ [テ液テ院テ韻テ嘉」テï」ソテャツォテ窶コテァテサテïャテ穎テ嘉ャテ栄テ嘉「global EditSaveFilename,FRManswer file "テ影テ鵜テ厩テ曳テ液テ院テ韻テ嘉」テï」ソテォIテォï」ソテ⑦" of type "TEXT","ttro"if it is empty then exit to HyperCard else put it into Filenameset cursor to watchput Filename into EditSaveFilenameget ReadFile(Filename)if the number of chars of it > 20000 thenbeepanswer "テッ竏づゥテカテェテョテ邃「テォホゥテ竏妥ツィテテ暗ホゥテïャづ②テ、Jテテ佚窶ケテマ\テテ津竕暗ツオテホゥテ③"exit to HyperCardend iflock screenput it into fld "Text"if FRM is true then addRMset itemDelimiter to ":"-- テャツォテ窶コテァテサテテ津テヲテ液テ院テ韻テ嘉」テアツコテï」ソテ厩テ運テ叡テ丑テアツコテ窶ヲテ竏妥テ暗ィテテョトアテï」ソテ竏妥テset name of this card to last item of Filenameunlock screenenterInFieldopenCardend OFon Speakingget the voices-- テゥgテウpテ竕暗ツエテテ暗「マ\テェ竏ォテï」ソテッ窶佚竏妥、テキテェテョテ uvoicesテ vテ邃「テ」テ崚ï」ソテッ窶佚竏妥竏テツ「テツァテツアテ竏テテ陛②-- テ竏妥ツサテテ古テクテ uSpeech Managerテ vテ」@テョ¥テ、gテュツ」テ邃「テ韻テ嘉ャテ厩テ曳テ [テ嘉」テ竕・テテ催ニ津ツ「テツサテツ「テツアテ竏テ窶ヲテツサテテif it is empty thenbeepanswer "テ uSpeech Managerテ vテ」@テョ¥テ、gテュツ」テ邃「テ韻テ嘉ャテ厩テ曳テ [テ嘉」テ竕・テテ催ニ津ツ「テツサテツ「テホゥテïャづ②テャツォテ窶コティ窶榲竏榲竕暗ツエテ窶ケテマ\テテ津⑩"exit to HyperCardend ifanswer "テッ竏づィテォテï」ソテャツォテ窶コティ窶榲竏榲窶ケテ竏妥ツゥテ⑨ テホゥテテヲテツオテ②テ「pテッ竏づテε窶コテ竕暗竏妥③" with "テ鵜テ嘉嘉嘉ャテ瓜テ嘉」","OK"if it is not "OK" then exit to HyperCardset cursor to watchrepeat with x = 1 to (the number of lines of fld "Text")select line x of fld "Text"speak line x of fld "Text"wait until the speech is "Done"end repeatstop speechend Speakingon FIglobal FindTextif the selectedText is not empty then get the selectedText else get FindTextask "テ・テシテァトアテ竏妥テ暗ッ竏づゥテカテウテ津⑦" with itif it is empty then exit to HyperCardput it into FindTextselect emptytype "Find string" && quote &FindText "e & returnif the result is not empty then answer "テ⑽" &FindText& "テ⑾テテ陛・ツゥテツャテツゥテテ凝窶ケテマ\テテ津竕暗ツオテホゥテ③"else answer "テ嘉、テ運テ [テ嘉ャテ鵜テ [テ竕暗ゥテシテï」ソテ・テシテァトアテ竕暗ツエテ窶ケテ竏妥③"end FIon SF-- テァ竕暗・窶榲窶ヲテ、Jテツ「テホゥテ⑴テッ竄ャテォ竏づ邃「テォ竏づァ窶コテ竏妥テ暗ツサテテテナ津②テァXテェVテ竏妥テ暗ツゥテï」ソテェqテテ\テテglobal EditSaveFilename,FRMlock screenset itemDelimiter to ":"if there is a file EditSaveFilename thenget last item of EditSaveFilenameanswer "ティテォテウïャテ⑦テ⑽" & it & "テ⑾" & return & "テッ竄ャテォ竏づッヒ堙ア@テï」ソテォIテォï」ソテツオテニ津竕 テテヲテ竕・テツ「テ③" with "テ鵜テ嘉嘉嘉ャテ瓜テ嘉」","テッツ テアツコテッ竄ャテォ竏...","テァXテェV"if it is "テァXテェV" thenset cursor to watchif FRM is true then deleteRMWriteFile fld "Text",EditSaveFilenameif FRM is true then addRMset itemDelimiter to ":"set name of this card to last item of EditSaveFilenameexit SFelseif it is "テ鵜テ嘉嘉嘉ャテ瓜テ嘉」" then exit to HyperCardend ifend ifget last item of EditSaveFilenameask file "テェVテ」Kテ液テ院テ韻テ嘉」テアツコテ⑦" with itif it is empty then exit to HyperCard else put it into EditSaveFilenameset cursor to watchput it into FNif FRM is true then deleteRMWriteFile fld "Text",FNif FRM is true then addRMset itemDelimiter to ":"set name of this card to last item of FNunlock screenopenCardend SFon openPICT-- PICTテ液テ院テ韻テ嘉」テï」ソテ、Jテ竕 テ穎テ嘉ャテ栄テ嘉「answer file "テ、Jテ竕 PICTテ液テ院テ韻テ嘉」テï」ソテォIテテ津竕暗竕 テテヲテ竕・テツ「テ⑦" of type "PICT"if it is empty then exit to HyperCard else picture it,file,zoom,,0end openPICTon PrintingdoMenu "Page Setup..."answer "テ テ崚ァツクテï」ソテ、Jテゥnテツオテ窶ケテ竏妥ツゥ?" with "テ鵜テ嘉嘉嘉ャテ瓜テ嘉」","OK"if it is "OK" then print fld "Text"end Printingon doMenu sel,sm-- SimpleWriteテ邃「テ、Jテツ「テニ津ツ「テテ暗ィテ崚ォ窶佚竕HyperCardテï」ソティIテウマ\テ竏妥テ暗ゥテサテ②-- テ ucloseStackテ vテï」ソテ・ニ津窶氾ィoテ竏妥テεテ陛ゥテサテ、窶佚邃「テツゥテツゥテテ暗テε竕暗②テアツコテォOテï」ソテッナ禿ァXテツオテニ-- テ ucloseStackテ vテ穎テ嘉ャテ栄テ嘉「テï」ソテ・ニ津窶氾ィoテ竕・テツサテツ「テ竕暗ィIテウマ\テ竏妥テif sel is "Quit HyperCard" thenset cursor to watchlock screenif fld "Text" is not empty thenbeepanswer "テ・ツェテァ窶コテテεッ竏づィテォテï」ソテ テ催ゥテサテッ竄ャテォ竏づツオテニ津ツョテツエテ窶ケテ竏妥ツゥ?" with "テッ竄ャテォ竏づツオテツサテツ「","テッ竄ャテォ竏"if it is not "テッ竄ャテォ竏" then put empty into fld "Text"end ifset name of this stack to "SimpleWrite II"lock messagesend ifif sm is "Font" and the optionKey is down then setTextFont selif sm is "Style" and sel is a number and the optionKey is down then setTextSize selpass doMenuend doMenu-- Utilitie Scripts --on compactingStack-- テ厩テ運テ叡テ丑テテεア竕・テォツ テツサテウeテウツ テ邃「テ厩テ運テ叡テ丑テォSテォテεテ10テ テャテï」ソテツアテツカテホゥテテテ厩テ運テ叡テ丑テï」ソテェテテウテケテ竏妥テif the freesize of this stack > 0.1 * the size of this stack thendoMenu "Compact Stack"end ifend compactingStackon setLine num-- テァsテッ¥テゥツカテテεァsテェテョテï」ソテェ窶コテュテ凝竏妥テ暗穎テ嘉ャテ栄テ嘉「if num is not a number or num is empty or num < 1 thenbeepexit to HyperCardend iflock screenput empty into fld "Line"repeat with g = 1 to numsetCursorToBusyput g into line g of fld "Line"put g & "/" & numend repeatend setLinefunction ReadFile FileName-- テ影テ鵜テ厩テ曳テ液テ院テ韻テ嘉」テï」ソテャツォテ窶コテァテサテテ津竕暗②テツェテテεャ窶。テウeテï」ソテッ窶佚竏妥嘉愿 [テ蔚テ [テュテ凝」`テ、テキテェテョopen file Filenameread from file Filename until eofclose file Filenamereturn itend ReadFileon WriteFile text,FileName-- テ影テ鵜テ厩テ曳テ液テ院テ韻テ嘉」テï」ソテァテ湘ェツィテ⑴ティテォテツエテァテサテ窶コテ竏妥テ暗嘘テ厭テ嘉ャテ栄テ穎テ嘉ャテ栄テ嘉「global FRMopen file FileNamewrite text to file FileNameclose file FileNameend WriteFile-- Checking Scripts --on checkErrors-- テ厩テ運テ叡テ丑テ 竅テャテテ窶ヲテゥ竏湘ョsテ竏妥テ暗竏テ u竏ォナ凪\コニ抵ャテ vテ嘉 テ泳テ嘉姪 [テ邃「テゥcテツ。テニ津ツオテ窶ケテツァテテε竕暗②-- テ テ催「テサテ、mテョFテ竏妥テ暗ッKテウvテ邃「テ窶 テテif there is a menu "竏ォナ凪\コニ抵ャ" thenbeepset cursor to watchreset menuBarend ifend checkErrorson checkVersions-- HyperCardテ竏テ鰻テ厩テ影テ嘉テテε頴テ [テ姥テ嘉。テ嘉ャテï」ソテュ竕、テ笳甘②テャテテァテ湘竕暗ツエテテ暗、ツャテ」ツエテツゥテュ竕、テ笳甘テif "2.1" > the version thenbeepanswer "テツアテテε厩テ運テ叡テ丑テテ陛②HyperCard2.1テ ツサテァ~テ竕暗ツオテツゥテャテテツエテ窶ケテマ\テテ津⑩" with "ティIテウマ\"go Homeend ifif "7" > the systemVersion thenbeepanswer "テツアテテε厩テ運テ叡テ丑テテ陛②テ鰻テ厩テ影テ嘉テ頴テ [テ姥テ嘉。テ嘉ャテ㈽テ ツサテァ~テ竕暗ツオテツゥテャテテツエテ窶ケテマ\テテ津⑩" with "ティIテウマ\"go Homeend ifend checkVersionson checkMemory-- HyperCardテテεゥgテツカテテ暗」テ崚嘉 テ嘉テ嘉、テï」ソテ荏テ宇テ叡テ丑テ竏妥テif the heapSpace < 200000 then -- テ」テ崚嘉 テ嘉テ嘉、テ邃「200Kテ頴テ韻テ曳テ ツサテ「竏ォテツサテテbeepanswer "HyperCardテテε嘉 テ嘉テ嘉、テ邃「テッsテォツエテツィテ窶コテ竕暗竏妥③テツアテテε窶ケテ窶ケテゥgテツ「テォツアテテ佚テ暗竏テ②テ鰻テ厩テ影テ嘉テ烏テ嘉「テ [テ窶堙液テ嘉、テ [テ浦テ邃「テ」Nテツアテテ暗ツゥテ窶。テツオテテ催窶ケテマ\テテ津③" & ツャ"テツォテツァテツオテ窶ケテ竏妥ツゥ?" with "テォツアテァs","ティIテウマ\"if it is "ティIテウマ\" thenanswer "ティIテウマ\テ・窶榲②Finderテ竕HyperCardテテε、テ妥テ凝ャテアテニ津嘉 テ嘉テ嘉、テï」ソ200Kテ頴テ韻テ曳テ ツサティ窶榲ォテケテ窶堙ツオテニ津竕 テテヲテ竕・テツ「テ③"set cursor to watchdoMenu "Quit HyperCard"elseanswer "テォツコテテε厩テ運テ叡テ丑テï」ソテッツャテ竏づテ暗ツサテツォテツオテニ津②HyperCardテテε」テ崚嘉 テ嘉テ嘉、テï」ソテ竕暗ツエテテ暗テヲテテ佚ォテケテ窶堙竏妥テ甘ツァテャwテïャづニ津竕 テテヲテ竕・テツ「テ③"end ifend ifend checkMemory-- Etc Scripts --on setCursorToBusy-- テツアテテε穎テ嘉ャテ栄テ嘉「テテ陛 uテ・ツゥテツゥテテ佚 vテï」ソテウツォテ竕 テ竏妥テ暗ホゥテïャづテヲテテ佚テε窶。テテε竕暗竏global cursorNumberif cursorNumber is empty or cursorNumber is 4 then put 0 into cursorNumber else add 1 to cursorNumberset cursor to "50" & cursorNumberend setCursorToBusyon setname xglobal QuitCheck-- テ ucloseStackテ vテ穎テ嘉ャテ栄テ嘉「テテεァ竕暗・窶榲窶ヲテ・ニ津窶氾ィoテ竕・テテ催テset name of this stack to "SimpleWrite II"put true into QuitCheckgo xend setnameon setTextFont theFont-- テァsテッ¥テゥツカテ⑴テ嘉」テ [テ嘉「テ [テ⑴テ嘉 テ韻テ嘉ャテ液テ隠テ [テ嘉」テ栄テテε影テ鵜テ厩テ曳テ液テ羽テ嘉ャテ曳テï」ソテェ窶コテュテ凝竏妥テ暗穎テ嘉ャテ栄テ嘉「lock screenset textFont of fld "Text" to theFontset textFont of fld "Ruler" to theFontset textFont of fld "Line" to theFontunlock screenend setTextFonton setTextSize theSize-- テァsテッ¥テゥツカテ⑴テ嘉」テ [テ嘉「テ [テ⑴テ嘉 テ韻テ嘉ャテ液テ隠テ [テ嘉」テ栄テテε影テ鵜テ厩テ曳テ欝テ韻テ浦テï」ソテェ窶コテュテ凝竏妥テ暗穎テ嘉ャテ栄テ嘉「lock screenset textSize of fld "Text" to theSizeset textSize of fld "Ruler" to theSizeset textSize of fld "Line" to theSizeunlock screenend setTextSizeon returnInField-- テ「ツクテァsテッ竏づゥテカテテεッ¥テゥツカテ窶ヲテ、テキテ竏妥テ暗液テ隠テ [テ嘉」テ栄テウpテ穎テ嘉ャテ栄テ嘉「global FRMif FRM is true then put "テ ヒ" &return into the selection else pass returnInFieldend returnInField</script>